<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    // 使用 node.js 获取系统平台
    var os = require('os')
    document.write('Our compute is:',os.platform())
</script>
</body>
</html>